body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f9;
  margin: 0;
  padding: 0;
}

.chat-container {
  width: 100%;
  margin: 20px auto;
  border-radius: 8px;
  position: relative;
}

.chat-box {
  background-color: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 26px;
  padding: 15px;
  margin-bottom: 20px;
  max-height: 500px;
  overflow-y: auto;
}

.chat-box div {
  margin-bottom: 10px;
}

.chat-box .user {
  color: #333;
}

.chat-box .assistant {
  color: #007bff;
}

.chat-box .loading {
  color: #888;
}

.user-input {
  display: flex;
}

.user-input input {
  margin-right: 10px;
  flex: 1;
  padding: 15px;
  border: 1px solid;
  outline: none;
  font-size: 16px;
  border-radius: 10px;
}

.user-input button {
  padding: 15px 20px;
  border: none;
  background-color: #007bff;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
}

.user-input button:hover {
  background-color: #0056b3;
}

.model-select {
  position: absolute;
  top: 10px;
  right: 10px;
}

.model-select select {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
}
[data-theme=dark] .chat-box{
    background-color: #000;
}
[data-theme=dark] #user-input{
    background-color: #000;
}
[data-theme=dark] #model-select{
    background-color: #000;
}

[data-theme=dark] .chat-box .user{
    color: #f2eded;
}
[data-theme=dark] #user-input{
    color: #f2eded;
}
[data-theme=dark] #model-select{
    color: #f2eded;
}
